
\documentclass[10pt,letterpaper]{article}
  \usepackage{helvet}
% Tamaño de la letra puede ser 10pt, 11pt, 12pt... hoja 'letter paper', 'legal paper', etc...

%---------------------------------------
%% PAQUETES DE COMPATIBLIDAD CON ESPAÑOL
%\usepackage[activeacute,spanish,es-tabla,es-nolists]{babel}
%\usepackage{lmodern}
\usepackage[utf8]{inputenc}



%\usepackage[latin1]{inputenc}

%---------------------------------------
%% PAQUETES DE OPCIONES EXTRA
\usepackage{booktabs}  
             %Permite hacer tablas más formales
\usepackage[flushleft]{threeparttable} % Agregar notes!
\usepackage{adjustbox}  										%pa auto-size de tablas y queden justo del ancho del texto
\usepackage{graphicx}               %Permite trabajar con gráficos
\usepackage[capposition=top]{floatrow} % Notas para graficos
%\usepackage{appendix}               %Permite cambiar algunas opciones de los apéndices
%\usepackage{wrapfig}                %Permite poner graficos con texto al lado
\usepackage{natbib}					% Biblostuff  
%\usepackage{subfig}                %Permite poner un gráfico con múltiples imágenes
%\usepackage{sidecap}               %Permite poner la descripción de las imágenes a un lado
%\usepackage{rotating}              %Permite hacer tablas rotadas
\usepackage{color}                  %Permite cambiar el color del texto.. \color{green}...
\usepackage{url}                    %Permite poner direcciones web o emails... \url{http:...}
\usepackage{amsmath}                %Permite poner ecuaciones más fácilmente
\usepackage{amsfonts}               %Permite usar otras fuentes típicas de ecuaciones
%\usepackage[framed,numbered]{mcode} %Permite poner codigo Matlab \mcode{} o con \begin{lstlisting}[firstnumber=1,framerule=0.2pt]...
% ojo que se puede hacer \lstinputlisting[firstline=6, lastline=15]{/SOME/PATH/FILENAME.M}
%\usepackage{enumerate}              %Permite elegir el tipo de enumeracion \...enumerate}[a)][{ej} 1]
%\usepackage{mdwlist}                %Permite poner \suspend{} - \resume{} en un enumerate, (se instala mdwtools)

%\usepackage{authblk}	% Permite autores con afiliacion:
%\author[1]{Alice Smith}
%\author[2]{Bob Jones}
%\affil[1]{Department of Mathematics, University X}
%\affil[2]{Department of Biology, University Y}

\usepackage{caption}
\usepackage{subcaption}
%\begin{figure}[h]
%\caption{RD plots for SMS, 2017}
%\label{figS2017}
%\begin{subfigure}[b]{0.5\textwidth}
%\includegraphics[width=\textwidth]{figures/all_S_agregadas_2018.png}
%\end{subfigure}
%\begin{subfigure}[b]{0.5\textwidth}
%\includegraphics[width=\textwidth]{figures/all_S_cambiaTop1_2018.png}
%\end{subfigure}
%\end{figure}
\usepackage{multirow}
\usepackage{array} % Permite fijar ancho de columnas
\newcommand{\PreserveBackslash}[1]{\let\temp=\\#1\let\\=\temp}
\newcolumntype{C}[1]{>{\PreserveBackslash\centering}p{#1}}
\newcolumntype{R}[1]{>{\PreserveBackslash\raggedleft}p{#1}}
\newcolumntype{L}[1]{>{\PreserveBackslash\raggedright}p{#1}}
%\begin{tabular}{llR{1.7cm}@{}lrR{1.7cm}@{}lR{1cm}R{1cm}R{1cm}R{1cm}R{1cm}}
%---------------------------------------
%% PAQUETES DE COMPATIBLIDAD CON PDF
\usepackage[pdfcreator=Felipe,bookmarks=true,colorlinks=false]{hyperref}    % Activa links en PDFs.. tiene que ir al final
\usepackage[all]{hypcap}                                    % Links de tablas y figuras lleva a la figura no al caption.. después de hyperref

%---------------------------------------
%% MÁRGENES
\usepackage[margin=4cm]{geometry}

\begin{document}

%Table generated with cell2latex.m  on  26-Aug-2021 10:37:51

\begin{table}[htbp]
\centering
\caption{RD Estimates of Platform Pop-Up Effects on Survey Outcomes\label{tab:RDpopup-survey}}
\begin{adjustbox}{max width=\textwidth,max totalheight=\textheight-2\baselineskip}
\begin{threeparttable}
%\footnotesize
\begin{tabular}{lrrrr}
\addlinespace
\toprule
  &\multicolumn{1}{c}{(1)} &\multicolumn{1}{c}{ } &\multicolumn{1}{c}{(2)} &\multicolumn{1}{c}{ }\\
  &\multicolumn{1}{c}{2020} &\multicolumn{1}{c}{ } &\multicolumn{1}{c}{$E[Y|X=0.3^{-}]$} &\multicolumn{1}{c}{ }\\\midrule

\\
\multicolumn{5}{l}{\textbf{A. Survey takeup and completion}} \\
Survey take-up  & -0.020 &   & 0.173 &   \\ 
  & (0.010) &   & (0.008) &   \\ 
Answered expectation questions  & -0.013 &   & 0.150 &   \\ 
  & (0.010) &   & (0.007) &   \\ 
\\
\multicolumn{5}{l}{\textbf{B. Application behavior in survey sample}} \\
Add any  & 0.196 &   & 0.265 &   \\ 
  & (0.033) &   & (0.021) &   \\ 
$\Delta$ Risk  & -0.016 &   & -0.027 &   \\ 
  & (0.008) &   & (0.006) &   \\ 
\\
\multicolumn{5}{l}{\textbf{C. Beliefs and optimism}} \\
Subjective P(not assigned to any)  & 0.036 &   & 0.165 &   \\ 
  & (0.017) &   & (0.011) &   \\ 
Subjective P(assigned to 1st)  & -0.049 &   & 0.754 &   \\ 
  & (0.021) &   & (0.014) &   \\ 
\\
\multicolumn{5}{l}{\textbf{D. Stated preferences}} \\
Satisfaction with 1st choice school  & -0.017 &   & 6.855 &   \\ 
  & (0.047) &   & (0.027) &   \\ 
   &   &   &   &   \\ 
NL  & 1,381 &   &  &   \\ 
%  &  &   &  &   \\ 
NR  & 1,500 &   &  &   \\ 
%  &  &   &  &   \\ 
\bottomrule
%\addlinespace
\end{tabular}
\begin{tablenotes}
\small
\item \textit{Notes.} Local linear RD estimates of popup effects from warning popup on application platform. Computed using triangular kernel with bandwidth 0.1. Heteroskedasticity-robust nearest neighbor variance estimator with minimum of 3 neighbors reported in parentheses; computed as in \citet{calonico2014robust}. IV estimates reported in second column of each set show the instrumental variable specifications (fuzzy RD), where the endogenous regressor is the add any school indicator
\end{tablenotes}
\end{threeparttable}
\end{adjustbox}
\end{table}

\clearpage

\begin{figure}[H]
\centering
\caption{ RD plots}
\label{}
\makebox[\textwidth][c]{%
	%[1,1]
	\begin{subfigure}[b]{0.400\textwidth}
		\centering
		\caption{\centering 2020\_P\_stake\_2020.png}
		%\label{ }
		\includegraphics[scale=0.450]{2020_P_stake_2020.png}
	\end{subfigure}
	%[1,2]
	\begin{subfigure}[b]{0.400\textwidth}
		\centering
		\caption{\centering 2020\_P\_answE\_2020.png}
		%\label{ }
		\includegraphics[scale=0.450]{2020_P_answE_2020.png}
	\end{subfigure}
	%[1,3]
	\begin{subfigure}[b]{0.400\textwidth}
		\centering
		\caption{\centering 2020\_P\_aaInSurv\_2020.png}
		%\label{ }
		\includegraphics[scale=0.450]{2020_P_aaInSurv_2020.png}
	\end{subfigure}
} % End of \makebox
	\vspace{.02cm}

\makebox[\textwidth][c]{%
	%[2,1]
	\begin{subfigure}[b]{0.400\textwidth}
		\centering
		\caption{\centering 2020\_P\_drEPinSurv\_2020.png}
		%\label{ }
		\includegraphics[scale=0.450]{2020_P_drEPinSurv_2020.png}
	\end{subfigure}
	%[2,2]
	\begin{subfigure}[b]{0.400\textwidth}
		\centering
		\caption{\centering 2020\_P\_spAny\_2020.png}
		%\label{ }
		\includegraphics[scale=0.450]{2020_P_spAny_2020.png}
	\end{subfigure}
	%[2,3]
	\begin{subfigure}[b]{0.400\textwidth}
		\centering
		\caption{\centering 2020\_P\_sp1st\_2020.png}
		%\label{ }
		\includegraphics[scale=0.450]{2020_P_sp1st_2020.png}
	\end{subfigure}
} % End of \makebox
	\vspace{.02cm}

\makebox[\textwidth][c]{%
	%[3,1]
	\begin{subfigure}[b]{0.400\textwidth}
		\centering
		\caption{\centering 2020\_P\_s1\_2020.png}
		%\label{ }
		\includegraphics[scale=0.450]{2020_P_s1_2020.png}
	\end{subfigure}
	} % End of \makebox
%\floatfoot{\scriptsize \textit{Notes:} }
\end{figure}

\end{document}